﻿using STHPMS1.ICore.I_Entity;
using STHPMS1.ICore.I_Entity.Stmpms1;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace STHPMS1.ICore.I_DAL.Repository
{
    public interface IDp_Dailymain_CostRepository : IDal
    {

        /// <summary>
        /// 通过决策路段获取基础路段信息
        /// </summary>
        /// <param name="mainsegid">决策路段ID</param>
        /// <returns></returns>
        IB_Invntory GetB_Invntory(string mainsegid);
        /// <summary>
        /// 通过决策路段获取基础路段信息
        /// </summary>
        /// <typeparam name="T"></typeparam>
        /// <param name="rdwayid">路线编号</param>
        /// <param name="segid_main">养护类型</param>
        /// <returns></returns>
        List<T> GetB_Invntory<T>(string rdwayid,int segid_main)  where T : class,IB_Invntory;
    }
}
